<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>添加水文信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/bootstrap-3.3.5-dist/css/bootstrap.css" />

</head>
<body>
	<div class="row-fluid" style="margin-top: 10px;">
		<div class="col-md-6">
			<h3>添加气象信息</h3>
			<form role="form" class="form-horizontal"
				action="${pageContext.request.contextPath}/reporter3/addWeatherInfoAction"
				method="post" id="checkForm">
				<div class="form-group">
					<label class="col-md-3 control-label" for="power">城市</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.city" type="text" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label" for="power">天气状况</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.weatherRegime" type="text" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label">更新时间</label>
					<div class="col-md-9">
						<input type="date" name="winfoBean.refreshDate" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label" for="dept">温度(℃)</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.temprature" type="text"   />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label" for="num">风强度(M)</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.windPower" type="text"   />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label" for="unit">风向</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.dominatWind" type="text" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 control-label" for="name">污染指数(PM值)</label>
					<div class="col-md-9">
						<input class="form-control" name="winfoBean.pollutionPower" type="text" />
					</div>
				</div>
				
				<div class="form-group">
					<!-- <input name="winfoBean.userBean.id" type="hidden" /> -->
					<input name="winfoBean.id" type="hidden" />
				</div>
				<div class="form-group">
					<div class="col-md-offset-3 col-md-9">
						<button type="submit" class="btn btn-primary btn-block">
							提交</button>
					</div>
				</div>
			</form>
		</div>
		<div class="col-md-3"></div>
	</div>
	<script
		src="${pageContext.request.contextPath}/static/js/jquery-1.12.1.js"
		type="text/javascript"></script>
	<script
		src="${pageContext.request.contextPath}/static/bootstrap-3.3.5-dist/js/bootstrap.js"
		type="text/javascript"></script>
	<script
		src="${pageContext.request.contextPath}/static/js/jquery.validate.js"
		type="text/javascript"></script>
	<script
		src="${pageContext.request.contextPath}/static/js/myValidate.js"
		type="text/javascript"></script>
</body>
</html>